<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/home/same.css" />
    <script src="__PUBLIC__/Js/home/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__/Js/layer/layer.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Js/home/index.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Css/home/common.css" />
    <link rel="stylesheet" href="__PUBLIC__/Css/home/drring.css" />
    <style>
        #submit{
            width:44px;
            height:20px;
            border:1px solid #DDD;
            background-color:#F1F1F1;
            color:#666;
            margin-left:10px;
            line-height: 12px;            
        }
        .drring_highsearch .selected{
            color: #dbc7ba;
        }
        .cort {
            background: #ffffff;
        }

        a {
            color: #666;
        }
    </style>
    <meta name="mobile-agent" content="format=html5; url=http://m.darryring.com/diamondring_list.aspx" />
    <script>
        $(function(){
            $('#moreCond').click(function(){
                $(this).css('display','none');
                $('#priceCond').css('display','block');
            });

            $('#closePriceCond').click(function(){
                $('#priceCond').css('display','none');
                $('#moreCond').css('display','block');
            });

            $('#moreSeries').toggle(
                function(){
                    $('.drring_series').css('height','60px');
                },
                function(){
                    $('.drring_series').css('height','30px');
                }
            );

            /**
             * 处理a连接
             * 1.通过选选择器[attribute=value]方式找到要操作的a标签
             * 2.执行一系列操作，添加class，修改href，clone，添加到#searchlist
             */
            $("a[typeid='{$Think.session.type_id}']").addClass('selected').attr('href','__URL__/filter/remove/type_id').clone().appendTo('#searchList');
            $("a[ct='{$Think.session.ct}']").addClass('selected').attr('href','__URL__/filter/remove/ct').clone().appendTo('#searchList');
            $("a[material='{$Think.session.material}']").addClass('selected').attr('href','__URL__/filter/remove/material').clone().appendTo('#searchList');
            $("a[price='{$Think.session.price}']").addClass('selected').attr('href','__URL__/filter/remove/price').clone().appendTo('#searchList');


        });
        
    </script>
<title>
    钻戒价格
</title>
</head>
<body>
<!-- 头部 -->
<include file="Common/header"/> 
<!-- 头部end -->  
     
    <!--banner-->
    <div class="dring-banner">
        <a href="__URL__/index">
            <img src="__PUBLIC__/Uploads/Pic/14670806412822.jpg" alt="darry ring 求婚钻戒" />
        </a>
    </div>
    <!--banner end-->
    <!--搜索栏-->
    <div class="dr-bread w1000">
        <!--右边-->
        <div class="drring_search-right fr" style="display: block">
            <form action="__URL__/index" method="post">
                <input type="text" id="txtkey" placeholder="请输入关键字搜索" name="txtkey" />
                <input type="submit" value="确定" id="submit">
            </form>
        </div>
        <!--右边end-->
        <!--左边-->
        <div class="drring_search-left fl">
            <!--面包屑-->
            <div class="drring_all-bread fl">
                <a href="">Darry Ring  </a><span>> 求婚钻戒</span>
            </div>
            <!--面包屑end-->
            <!--筛选-->
            <div class="drring_search-choose fl" id="searchList">
                <if condition="$txtkey">
                    <a href="__URL__/index">{$txtkey}</a>
                </if>
            </div>
            <!--筛选end-->
        </div>
        <!--左边end-->
    </div>
    <!--搜索栏end-->
    <!--粉色底-->
    <div class="dr_pink pad-76">
        <!--宽度1000以内-->
        <div class="w1000">
            <!--高级搜索栏-->
            <div class="drring_highsearch" id="highsearch">
                <div class="drring_highsearch-same fix">
                    <span class="fl">系列</span>
                    <div class="drring_series fl">
                        {/*遍历类别信息*/}
                        <foreach name="type_arr" item='ty'>
                            <a href="__URL__/index/type_id/{$ty.id}" dr-type="1" style="" rel="nofollow" typeid="{$ty.id}">{$ty.type_name}</a>
                        </foreach>
                    </div>
                    <span href="javascript:;" class="moreSeries fl" id="moreSeries">更多</span>     
                </div>
                <div class="drring_highsearch-same">
                    <span>重量（克拉）</span>
                    <a href="__URL__/index/ct/0-10" dr-type="2" style="" rel="nofollow" ct="0-10">10分以下</a>
                    <a href="__URL__/index/ct/10-30" dr-type="2" style="" rel="nofollow" ct="10-30">10分-30分</a>
                    <a href="__URL__/index/ct/30-50" dr-type="2" style="" rel="nofollow" ct="30-50">30分-50分</a>
                    <a href="__URL__/index/ct/50-100" dr-type="2" style="" rel="nofollow" ct="50-100">50分-1克拉</a>
                    <a href="__URL__/index/ct/100" dr-type="2" style="" rel="nofollow" ct="100-10000">1克拉以上</a>
                </div>
                <div class="drring_highsearch-same">
                    <i class="fr" id="moreCond" style="display: block">更多条件</i>
                    <span>材质</span>
                    <a href="__URL__/index/material/1" dr-type="3" style="" rel="nofollow" material="1">白18K金</a>
                    <a href="__URL__/index/material/2" dr-type="3" style="" rel="nofollow" material="2">PT950</a>
                </div>
                <!--更多条件-->
                <div class="drring_highsearch-same" id="priceCond" style="display: none;">
                    <i class="fr" id="closePriceCond">收起</i>
                    <span>价格</span>
                    <a href="__URL__/index/price/0-5000" dr-type="4" style="" rel="nofollow" price="0-5000">5000以下</a>
                    <a href="__URL__/index/price/5001-10000" dr-type="4" style="" rel="nofollow" price="5001-10000">5001-10000</a>
                    <a href="__URL__/index/price/10001-20000" dr-type="4" style="" rel="nofollow" price="10001-20000">10001-20000</a>
                    <a href="__URL__/index/price/20001-40000" dr-type="4" style="" rel="nofollow" price="20001-40000">20001-40000</a>
                    <a href="__URL__/index/price/40000" dr-type="4" style="" rel="nofollow" price="40000">40000以上</a>
                </div>
                <!--更多条件end-->
            </div>
            <!--高级搜索栏end-->
            <!--排序与分页-->
            <div class="drring_sortall">
                <!--分页-->
                <div class="pagin fpagin fr">
                    {/*判断当前页码是否为空*/}
                    <empty name="Think.get.p">
                        <assign name='p' value='1' />
                        <else/>
                        <assign name='p' value="$Think.get.p" />                      
                    </empty>
                    <lt name='p' value="$pages">
                        <a href="__URL__/index/p/{$p+1}" class="nextPage" rel="nofollow"></a>
                        <else/>
                        <a href="__URL__/index/p/{$pages}" class="nextPage" rel="nofollow"></a>   
                    </lt>
                    <gt name='p' value='1'>
                        <a href="__URL__/index/p/{$p-1}" class="prevPage" rel="nofollow"></a>
                        <else/>
                        <a href="__URL__/index/p/1" class="prevPage" rel="nofollow"></a>
                    </gt>
                    <span>{$p}/{$pages}</span>
                    <span>共{$count}件 商品</span>
                </div>
                <!--分页end-->
                <!--排序-->
                <!-- <div class="drring_sort fl">
                    <span>排序</span>
                    <i id="ctl00_content_rq"><a href="darry_ring?page=1&sort=s1" rel="nofollow">按人气</a></i>
                    <i id="ctl00_content_xl"><a href="darry_ring?page=1&sort=s3" rel="nofollow">按销量</a></i>
                    <i id="ctl00_content_pr"><a href="__SELF__/sort/price" rel="nofollow">按价格</a></i>
                </div> -->
                <!--排序end-->
            </div>
            <!--排序与分页end-->
            <!--商品-->
            <ul class="dring_thing">
                {/*遍历商品详细信息*/}
                <foreach name="goodsDetail" item='gd'>
                    <if condition="$gd['pid'] eq 1">
                    <li>
                        <a href="__URL__/details/id/{$gd.id}" target="_blank">
                            <img src="__PUBLIC__/Uploads/Images/{$gd.pic1}" width="320" height="320" alt="FOREVER 系列 经典款&nbsp;30分&nbsp;F色" />
                        </a>
                        <div class="dring_thing-cort">
                            <div class="dring_thing-price">
                                ￥{$gd.price}
                            </div>
                            <p class="dring_thing-word">
                                {$gd.type_name2} {$gd.style}&nbsp;{$gd.ct2}分&nbsp;{$gd.color}色</p>
                            <div class="dring_thing-button">                                
                                <!-- <span onclick="addFavorites({$gd.goods_id})">收藏</span> -->
                                <i><a href="__URL__/details/id/{$gd.id}" target="_blank" rel="nofollow">立即购买</a></i>
                            </div>
                            <div class="dring_thing-sold">
                                <span>已售：{$gd.sales}</span><i>评价：<em>{$gd.comment}</em></i></div>
                        </div>
                    </li>
                    </if>
                </foreach>        
            </ul>
            <!--商品end-->
            <!--分页-->
            <div class="drring_sortall">
                <!--分页-->
                <div class="pagin fpagin fr">
                    {/*判断当前页码是否为空*/}
                    <empty name="Think.get.p">
                        <assign name='p' value='1' />
                        <else/>
                        <assign name='p' value="$Think.get.p" />                      
                    </empty>
                    <lt name='p' value="$pages">
                        <a href="__URL__/index/p/{$p+1}" class="nextPage" rel="nofollow"></a>
                        <else/>
                        <a href="__URL__/index/p/{$pages}" class="nextPage" rel="nofollow"></a>   
                    </lt>
                    <gt name='p' value='1'>
                        <a href="__URL__/index/p/{$p-1}" class="prevPage" rel="nofollow"></a>
                        <else/>
                        <a href="__URL__/index/p/1" class="prevPage" rel="nofollow"></a>
                    </gt>
                    <span>{$p}/{$pages}</span>
                    <span>共{$count}件 商品</span>
                </div>
            <!--分页end-->
        </div>
        <!--宽度1000以内end-->
    </div>
    <!--粉色底 end-->
    <!--JS begin-->
    <script>
        // 加载首页内容入口模块
        seajs.use("drjs/page/ring");
    </script>
    <!--黑色背景浮层-->
    <div class="dr_blackwall"></div>
    <!--黑色背景浮层end-->
    <!--收藏弹窗-->
    <div class="dr_shopPopup">
        <div class="dr_shopPopup-border">
            <!--关闭按钮-->
            <a href="javascript:;" class="Popup_close"></a>
            <!--关闭按钮end-->
            <!--成功加入-->
            <div class="dr_shopPopup-top">
                <span>已经成功加入收藏夹</span>
            </div>
            <!--成功加入end-->
            <!--查看-->
            <div class="dr_shopPopup-sec">
                <a href="javascript:;" class="goto_shop">继续购物</a>
                <span>还可以</span>
                <a href="member/myfavorites.html">查看收藏夹</a>
            </div>
            <!--查看end-->
            <!--推荐产品-->
            <div class="dr_shopPopup-thing" id="shopPopup">
                <div class="dr_shopPopup-overflow">
                    <!--产品-->
                    <ul class="dr_shopPopup-allthing fix" id="uldarid">
                    </ul>
                    <!--产品end-->
                </div>
                <!--左按钮-->
                <a href="javascript:showPro()" class="thing_pre"></a>
                <!--左按钮end-->
                <!--右按钮-->
                <a href="javascript:showPro()" class="thing_next"></a>
                <!--右按钮end-->
            </div>
            <!--推荐产品end-->
        </div>
    </div>
    <!--收藏弹窗end-->
<!--底部-->
<include file="Common/footer"/>
<!--底部end-->